package com.qf.six.ssm.mapper.product;


import com.qf.six.ssm.commen.request.CommodityParam;
import com.qf.six.ssm.entity.Commodity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ZL
 */
public interface CommodityMapper {
    Commodity select(@Param("cid") String id);

    List<Commodity> selectList();

    Commodity update(@Param("commodity") Commodity commodity);

    int insert(@Param("param") CommodityParam param);

    int del(@Param("cid")String cid);
}
